function Node() {
    this.left = null;
    this.right = null;
    this.parent = null;
    this.data = data;
}